// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.linqingying.gitcode.exceptions;

import org.jetbrains.annotations.NotNull;
import com.linqingying.gitcode.authentication.accounts.GitCodeAccount;

public class GitCodeMissingTokenException extends GitCodeAuthenticationException {
  public GitCodeMissingTokenException(@NotNull String message) {
    super(message);
  }

  public GitCodeMissingTokenException(@NotNull GitCodeAccount account) {
    this("Missing access token for account " + account);
  }
}
